﻿using System.Configuration.Provider;

namespace NCMIS.Provider
{
    /// <summary>
    /// Represents a collection of Multi-Filing Provider objects that inherit from <see cref="NCMIS.Provider.MultiFilingProviderBase"/>.
    /// </summary>
    public class MultiFilingProviderCollection : ProviderCollection
    {
        /// <summary>
        /// Creates a new instance of an Multi-Filing Provider object that inherits from <see cref="NCMIS.Provider.MultiFilingProviderBase"/>.
        /// </summary>
        /// <param name="name">The name of the provider to instantiate.</param>
        /// <returns>An instance of an Multi-Filing Provider object that inherits from <see cref="NCMIS.Provider.MultiFilingProviderBase"/>.</returns>
        new public MultiFilingProviderBase this[string name]
        {
            get { return (MultiFilingProviderBase)base[name]; }
        }
    }
}